package com.lzl.decorator.v2;


import java.util.List;

/**
 * 抽象装饰器
 */
public abstract class AbstractNavBarDecorator implements INavBar {

    private  INavBar mNavBar;

    public AbstractNavBarDecorator(INavBar bar){
        this.mNavBar = bar;
    }

    @Override
    public List<NavItem> getNavItems() {
        return this.mNavBar.getNavItems();
    }
}
